package model;

import java.io.Serializable;

public class Account implements Serializable {
	private static final long serialVersionUID = 0xAB2F71L;
	private String username;
	private String password;
	private int pin;
	private String oneTimePassword;

	public Account(String username, String password, int pin,
			String oneTimePassword) {
		this.username = username;
		this.password = password;
		this.pin = pin;
		this.oneTimePassword = oneTimePassword;
	}

	public Account() {

	}

	public String getUsername() {
		return username;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public int getPin() {
		return pin;
	}

	public void setPin(int pin) {
		this.pin = pin;
	}

	public String getOneTimePassword() {
		return oneTimePassword;
	}

	public void setOneTimePassword(String oneTimePassword) {
		this.oneTimePassword = oneTimePassword;
	}

	@Override
	public String toString() {
		return "Account [username=" + username + "]";
	}
	
	

}
